package main

import (
	db "webGin/database"
	r "webGin/router"
	"webGin/cache"
		)

func main() {
	defer db.SqlDB.Close()
	cache.MeCache = cache.NewMemoryCache()
	cache.MeCache.StartTimeGC()
	router := r.InitRouter()
	router.Run(":8000")
}

